<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('index');?><?php include template('common/header'); ?><div class="slide" id="img-play">
<ul>
        <?php if(is_array($banners)) foreach($banners as $pic) { ?>            <li><a href="<?php if($pic['img_url'] != 'http://') { ?><?php echo $pic['img_url'];?><?php } ?>"><img src="<?php echo $pic['img_path'];?>"></a></li>       
        <?php } ?>
</ul>
<div class="bg"></div>
<div class="num"></div>
<a class="skip prev" title="上一张">上一张</a>
<a class="skip next" title="下一张">下一张</a>
</div>
    
<div class="content">
    <div class="left width706">
        <ul class="sTab">
            <li class="sel">盘前预报</li>
            <li>最新主题</li>
            <li>最近回复</li>
            <!-- <li>本周热门</li> -->
        </ul>
        <!-- tab 盘前预报 -->
        <div class="tabTag">
            <ul class="infoList">
                <?php if(!empty($lists)) { ?>
                    <?php $i=1?>                    <?php if(is_array($lists)) foreach($lists as $list) { ?>        
                    <li>
                    	<span><?php echo $i;?></span>
                        <a target="_blank" title="<?php echo $list['subject'];?>" href="forum.php?mod=viewthread&amp;tid=<?php echo $list['tid'];?>"><?php echo $list['subject'];?></a>
                        <em><?php echo $list['username'];?></em>
                    </li>
                    <?php $i++?>                    <?php } ?>
                <?php } else { ?>
                    本版块尚无主题
                <?php } ?>
            </ul>
        </div>
        <!-- tab 最新主题 -->
        <div class="tabTag">
            <ul class="infoList">
                <?php if(!empty($last_threads)) { ?>
                    <?php $i=1?>                    <?php if(is_array($last_threads)) foreach($last_threads as $list) { ?>        
                    <li>
                        <span><?php echo $i;?></span>
                        <a target="_blank" title="<?php echo $list['subject'];?>" href="forum.php?mod=viewthread&amp;tid=<?php echo $list['tid'];?>"><?php echo $list['subject'];?></a>
                        <em><?php echo $list['username'];?></em>
                    </li>
                    <?php $i++?>                    <?php } ?>
                <?php } else { ?>
                    本版块尚无主题
                <?php } ?>
            </ul>
        </div>
        
        <!-- tab 最近回复 -->
        <div class="tabTag">
            <ul class="infoList">
                <?php if(!empty($last_post_threads)) { ?>
                    <?php $i=1?>                    <?php if(is_array($last_post_threads)) foreach($last_post_threads as $list) { ?>        
                    <li>
                        <span><?php echo $i;?></span>
                        <a target="_blank" title="<?php echo $list['subject'];?>" href="forum.php?mod=viewthread&amp;tid=<?php echo $list['tid'];?>"><?php echo $list['subject'];?></a>
                        <em><?php echo $list['username'];?></em>
                    </li>
                    <?php $i++?>                    <?php } ?>
                <?php } else { ?>
                    本版块尚无主题
                <?php } ?>
            </ul>
        </div>
        
        <!-- tab 本周热门 -->
        <!-- <div class="tabTag">
            <ul class="infoList">
                <?php if(!empty($week_hots)) { ?>
                    <?php $i=1?>                    <?php if(is_array($week_hots)) foreach($week_hots as $list) { ?>        
                    <li>
                        <span><?php echo $i;?></span>
                        <a target="_blank" title="<?php echo $list['subject'];?>" href="forum.php?mod=viewthread&amp;tid=<?php echo $list['tid'];?>"><?php echo $list['subject'];?></a>
                        <em><?php echo $list['username'];?></em>
                    </li>
                    <?php $i++?>                    <?php } ?>
                <?php } else { ?>
                    本版块尚无主题
                <?php } ?>
            </ul>
        </div> -->
        
    </div>
    
    <div class="right width280">
        <ul class="sTab">
            <li class="sel">本周热门</li>
            <!-- <li>注册/登录</li> -->
        </ul>
        <!-- tab 盘中热聊 -->
        <div class="tabTag">
            <div class="chat">
                <ul class="scroll_list">
                    <?php if(!empty($week_hots)) { ?>
                        <?php $i=1?>                        <?php if(is_array($week_hots)) foreach($week_hots as $list) { ?>        
                        <li>
                            <a target="_blank" title="<?php echo $list['subject'];?>" href="forum.php?mod=viewthread&amp;tid=<?php echo $list['tid'];?>"><?php echo $list['subject'];?></a>
                        </li>
                        <?php $i++?>                        <?php } ?>
                    <?php } else { ?>
                        本版块尚无主题
                    <?php } ?>
                </ul>
            </div>
        </div>
    </div>
</div><?php include template('common/footer'); ?>